package com.xh.springCloud.feign.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by xuhao on 2016/11/28.
 */
@FeignClient("eureka-instance")
public interface RestService {
    @RequestMapping(value = "test", method = RequestMethod.GET)
    String test();
}
